package com.imc.beans;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * SmsOper entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "sms_oper", catalog = "imcdbserver")
public class SmsOper implements java.io.Serializable {

	// Fields

	private Integer smsOperId;
	private String smsOperOwner;
	private String phone;
	private Integer oper;

	// Constructors

	/** default constructor */
	public SmsOper() {
	}

	/** full constructor */
	public SmsOper(String smsOperOwner, String phone, Integer oper) {
		this.smsOperOwner = smsOperOwner;
		this.phone = phone;
		this.oper = oper;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "SMS_OPER_ID", unique = true, nullable = false)
	public Integer getSmsOperId() {
		return this.smsOperId;
	}

	public void setSmsOperId(Integer smsOperId) {
		this.smsOperId = smsOperId;
	}

	@Column(name = "SMS_OPER_OWNER", length = 20)
	public String getSmsOperOwner() {
		return this.smsOperOwner;
	}

	public void setSmsOperOwner(String smsOperOwner) {
		this.smsOperOwner = smsOperOwner;
	}

	@Column(name = "PHONE", length = 3)
	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Column(name = "OPER")
	public Integer getOper() {
		return this.oper;
	}

	public void setOper(Integer oper) {
		this.oper = oper;
	}

}